package com.zhiyou100.service;

import java.util.ArrayList;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.zhiyou100.dao.CategoryDao;
import com.zhiyou100.model.Category;
@Service
public class CategoryImpl implements CategoryService{
	@Autowired
	private CategoryDao categoryDao;
	@Override
	public ArrayList<Category> findAll() {
		
		return categoryDao.findAll();
	}

}
